From 824837486bd65dde264001e9e6a5d07c6dbdb742 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 17 Nov 2017 15:30:20 +0800 Subject: [PATCH] gtkimcontextime.c: Fix call to gtk_style_context_get() The state argument was removed in commit 1518fe0 (API: stylecontext: Remove state argument from getters), but we missed updating this file until commit 5b94fe6 (stylecontext: Make first property name explicit), as the compiler did not issue any warnings on the (now-defunct) usage. https://bugzilla.gnome.org/show_bug.cgi?id=773299 --- modules/input/gtkimcontextime.c | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/input/gtkimcontextime.c b/modules/input/gtkimcontextime.c index 704dc58b31..b11f601965 100644 --- a/modules/input/gtkimcontextime.c +++ b/modules/input/gtkimcontextime.c @@ -955,7 +955,6 @@ gtk_im_context_ime_set_preedit_font (GtkIMContext *context) gtk_style_context_save (style); gtk_style_context_set_state (style, GTK_STATE_FLAG_NORMAL); gtk_style_context_get (style, - gtk_style_context_get_state (style), "font", &font_desc, NULL); -- 2.30.2